Returns a list of UserRole
objects specified by its type
path parameter.
Specify the user type to which your operations will be restricted.
any
, organization
, client
Using the filtering syntax, you may filter the results using the following fields:
id
name
The default sort order is descending by primary key (sort=-id
).
The following fields are available for sorting:
id
name
If specified as 1
, the meta.count
property of the response will be present and populated with the total count of items
matching the query before any paging is applied. This is not included by default to improve performance in some edge
cases and is not required to perform paging using the next
property of the response.
See paging parameters for more information.
0 <= x <= 1
A cursor for use in pagination which defines the last id
of the next page of results, non-inclusive.
See paging parameters for more information on paging.
A cursor for use in pagination which defines the starting id
of the next page of results.
See paging parameters for more information on paging.
A limit on the number of objects to be returned.
1 <= x <= 1000
100
A dictionary with a collection
property that contains an array of up to
limit
UserRole
objects. If no users are found the array will be empty.
The response is of type object
.